import {
    SWITCH_MENU
} from '../types'

const initiaState = {
    menuNmae: ''
}

export default (state = initiaState, action) => {
    switch (action.type) {
        case SWITCH_MENU:
            return {
                ...state,
                menuNmae: action.menuNmae
            }
        default:
        return {...state};
    }
}